import {pget, ppostJson} from '@/utils/req'
import {modalApi} from '@/utils/modalReq'

/**
 * 司机补贴全生命周期明细表
 * @param query
 * @returns
 */
export async function getCycleDetails(query: any): Promise<any> {
	return pget(
		`${modalApi.marketing}/settlementawarddetails/cycleDetails`,
		query,
	)
}
/**
 * 审核列表输入备注
 * @param data
 * @returns
 */
export async function getOperationUpdate(data: any): Promise<any> {
	return ppostJson(
		`${modalApi.marketing}/marketingsettlementdriver/update`,
		data,
	)
}
